#pragma once
#include "vgqrecyclingseries.h"

class VGQRightSeries :
	public VGQRecyclingSeries
{
public:
	VGQRightSeries(double mu, double lambda, double alpha, double beta);
	VGQRightSeries( std::shared_ptr<VarianceGammaDistribution > pvgDistribution );
	~VGQRightSeries(void);

	virtual double baseQuantile(double u);
	virtual void SetInitialCondition(double u);

private:
	double _pR, _const1, _const2;
		
	virtual double q(unsigned int n);
};

